home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_shw_mastercam.cog < prev    next >
Text File  |  1999-11-15  |  947b  |  50 lines

  1. # Jones 3D Cog Script
  2. #
  3. # MasterCam.cog
  4. #
  5. # Camera Control
  6. #
  7. # [CMG]
  8. #
  9. # (C) 1997 LucasArts Entertainment Co. All Rights Reserved
  10. # ========================================================================================
  11. symbols
  12.  
  13.     message    startup
  14.     message    user0
  15.     message    user1
  16.  
  17.     thing    player    local
  18.  
  19.     int    curCam    local
  20.     int    nofreak=0    
  21. end
  22. #============================================================
  23. code
  24.  
  25. startup:
  26.  
  27.         player = GetLocalPlayerThing();
  28.     return;
  29.  
  30.  
  31. # ============================================================
  32. user0:
  33.  
  34.         SetThingFlags(player, 0x80000);
  35.         curCam = GetCurrentCamera();
  36.         SetCurrentCamera(2);
  37.         return;
  38. # ============================================================
  39. user1:
  40.  
  41.         ClearThingFlags(player, 0X80000);
  42.         ClearActorFlags(player, 0X200000);
  43.         ResetCameraFOV(0,0);
  44.         SetCurrentCamera(1);
  45.         return;
  46.  
  47. # ============================================================
  48. end
  49.  
  50.